const request = require('../libs/request.js');
const activityService = {
  //活动列表
  getActivityList: (data) => {
    return request({
      url: "/activity/list",
      data: data
    });
  },
  //活动详情
  getActivityDetail: (data) => {
    return request({
      url: "/activity/detail",
      data: data
    });
  },
  //活动报名
  getActivityEnroll: (data) => {
    return request({
      url: "/activity/enroll",
      data: data
    });
  }
}
module.exports = activityService;